package com.bloveoacom.http;

/**
 * Created by yujunlong on 2017/9/1.
 */

public class MessageModel {


    public static final int TU_TYPE_LOGIN = 100001;
    public static final int TU_TYPE_EXIT = 100002;
    public static final int TU_TYPE_UPDATEUSERINFO = 100003;


    public static final int TU_TYPE_REFRESH_POST = 100006;



    public static final int SHARE_OK= 100009;
    public static final int BUY_OK= 1000010;

    //1获取代币数据
    public int type;
    public String data1;
    public int data2;
    public Object data;

    public MessageModel(int type, String data1, int data2) {
        this.type = type;
        this.data1 = data1;
        this.data2 = data2;
    }

    public MessageModel(int type) {
        this.type = type;
    }

    public MessageModel(int type, Object data) {
        this.type = type;
        this.data = data;
    }
}
